<script language="javascript" >
function check_frm2()
{
	r_form = document.frmpay;
		if(r_form.re_name.value=='') {
			document.getElementById("id_re_name").innerHTML = "Bạn chưa nhập Họ tên !";
			r_form.re_name.focus();
			return false;
		}
		
		if(r_form.re_tel.value=='') {
			document.getElementById("id_re_tel").innerHTML = "Bạn chưa nhập Số điện thoại !";
			r_form.re_tel.focus();
			return false;
		}
		
		if(r_form.re_address.value=='') {
			document.getElementById("id_re_address").innerHTML = "Bạn chưa nhập Address !";
			r_form.re_address.focus();
			return false;
		}
		
		if (r_form.re_email.value.indexOf("@")<0 || r_form.re_email.value.indexOf(".")<0) {
			document.getElementById("id_re_email").innerHTML = "Bạn chưa nhập Email !";
			r_form.re_email.focus();
			return false;
		}

		if(r_form.re_title.value=='') {
			document.getElementById("id_re_title").innerHTML = "Bạn chưa nhập chủ đề !";
			r_form.re_title.focus();
			return false;
		}
		if(r_form.re_content.value=='') {
			document.getElementById("id_re_content").innerHTML = "Bạn chưa nhập nội dung liên hệ!";
			r_form.re_content.focus();
			return false;
		}

		return true;
}
</script>
		

<!--begin left-->
 <? include_once("templates/left.html");?>
 <!-- end left-->
 <!-- begin content-->
<div id="content">
					
    
    <div class="top">
  <div class="left"></div>
  <div class="right"></div>
  <div class="center">
    <h1> Giỏ hàng</h1>
  </div>
</div>

<div class="middle">
<?=$html?>	


  <table width="100%"  border="0" cellspacing="0" cellpadding="0" >
						  	  <tr><td> <?=$str?><?=$string?></td></tr>
							  <tr><td>&nbsp;</td></tr>
							  <tr>
						      <td>

							  <div class="center_title_bar">&nbsp;&nbsp;&nbsp;&nbsp;Thông tin khách hàng</div>	
							  <table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-family:Tahoma; font-size:12px; ">        
                       										  <form action="<?=$action?>" method="post" name="frmpay" enctype="multipart/form-data" onsubmit="return check_frm2();"  >
															  <form action="#" method="post" name="frmpay" enctype="multipart/form-data" onsubmit="return check_frm2();"  >
								<tr><td>&nbsp;</td></tr>
                           
                                  <tr>
                                  <td height="36" align="right" class="textcontent">Họ tên Người nhận <font color="#FF0000" size="2">(*)</font></td>
                                  <td>&nbsp;</td>
                                  <td><input type="text" name="re_name" size="45" value="<?=$fullname?>"  onblur=\'document.getElementById("id_re_name").innerHTML="";\' class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 270px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
                                </tr>
								  <tr><td></td><td colspan="3" id="id_re_name" class="alert"></td></tr>							  
  
                              <tr>
                                  <td height="32" align="right" class="textcontent">Điện thoại  <font color="#FF0000" size="2">(*)</font></td>
                                  <td>&nbsp;</td>
                                  <td><input type="text" name="re_tel" size="45" value="<?=$tel?>"   onblur=\'document.getElementById("id_re_tel").innerHTML="";\' class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 270px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
                                </tr>
                       		  <tr><td></td><td colspan="3" id="id_re_tel" class="alert"></td></tr>			  
                                <tr>
                                  <td height="29" align="right" class="textcontent">Địa chỉ <font color="#FF0000" size="2">(*)</font></td>
                                  <td>&nbsp;</td>
                                  <td><input type="text" name="re_address"  value="<?=$address?>" size="45"  onBlur=\'document.getElementById("id_re_address").innerHTML="";\' class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 270px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
                                </tr>
								  <tr><td></td><td colspan="3" id="id_re_address" ></td></tr>								  
                                <tr>
                                  <td height="34" class="textcontent"><div align="right">Email : </div></td>
                                  <td>&nbsp;</td>
                                  <td><input type="text" name="re_email" size="45" value="<?=$email?>"  onblur=\'document.getElementById("id_re_email").innerHTML="";\' class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 270px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
                                </tr>						  
                                <tr>
                                  <td height="142"> <div align="right"><font class="textcontent">
                                  Ghi chú 
                                  </font></div></td>
                                  <td>&nbsp;</td>
                                  <td><textarea name="re_content"  cols="45" rows="10" onblur=\'document.getElementById("id_re_content").innerHTML="";\' class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 470px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></textarea></td>
                                </tr>
							  <tr><td></td><td colspan="3" id="id_re_content" class="alert"></td></tr>							  
                               <tr><td height="37">&nbsp;</td>
                               <td>&nbsp;</td>
                                 <td><input type="submit" name="Send"  value=" Đặt mua " style=" color:#FFFFFF; background-color:#2f66a7;border:none;  font-weight:bold; font-family:Tahoma;" />
                                 <input type="reset" name="re_send2"  value=" Làm lại " style="border:none; background:RED; color:#FFFFFF; font-weight:bold; font-family:Tahoma;"  /></td></tr>
                               <tr>
                                 <td >&nbsp;</td>
                                 <td>&nbsp;</td>
                                 <td>&nbsp;</td>
                               </tr>
						            		</form>					   
							 </table>						
							  </td>
					        </tr>
						  </table>	
						
</div>

<div class="bottom">
  <div class="left"></div>
  <div class="right"></div>
  <div class="center"></div>
</div>

 
    

<!--end content-->
    
 